<?php

namespace App\Repository;

use App\Model\User;

class Repository
{

    public function __construct()
    {
        global $app;

        $this->params = $app->getContainer()->request->getParams();
    }

    public function insert($params)
    {
        foreach($params as $param) {
            return ['code' => 404, 'message' => '参数缺失'];
        }
    }

}
